package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年6月23日 下午5:38:36 
 * 类说明 
 */
public class ProcessMapRespVOPrimary implements Serializable {
	private static final long serialVersionUID = -4700235500475020911L;

	private String cStepSortNbr;//流程步骤排序编号
	
	private String cUserNbr;//步骤用户排序

	public String getcStepSortNbr() {
		return cStepSortNbr;
	}

	public void setcStepSortNbr(String cStepSortNbr) {
		this.cStepSortNbr = cStepSortNbr;
	}

	public String getcUserNbr() {
		return cUserNbr;
	}

	public void setcUserNbr(String cUserNbr) {
		this.cUserNbr = cUserNbr;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cStepSortNbr == null) ? 0 : cStepSortNbr.hashCode());
		result = prime * result
				+ ((cUserNbr == null) ? 0 : cUserNbr.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ProcessMapRespVOPrimary other = (ProcessMapRespVOPrimary) obj;
		if (cStepSortNbr == null) {
			if (other.cStepSortNbr != null)
				return false;
		} else if (!cStepSortNbr.equals(other.cStepSortNbr))
			return false;
		if (cUserNbr == null) {
			if (other.cUserNbr != null)
				return false;
		} else if (!cUserNbr.equals(other.cUserNbr))
			return false;
		return true;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
				
	}

}
 